import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import '@/style/index.scss' // 全局样式
import '@/icons'
import SvgIcon from '@/components/SvgIcon/index.vue'
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
// pinia数据持久化插件
import piniaPersist from 'pinia-plugin-persist';


const store = createPinia()
store.use(piniaPersist)



const app = createApp(App)
app.use(store)
app.use(router)
app.component('svg-icon', SvgIcon)
app.use(VXETable)

app.mount('#app')

